<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=8,IE=9,IE=10" />
<meta http-equiv="Expires" content="0">
<meta http-equiv="Cache-Control" content="no-cache">
<meta http-equiv="Cache-Control" content="no-store">
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn"%>
<%@ taglib prefix="fnc" uri="/WEB-INF/tlds/fnc.tld"%>
<%@ taglib prefix="shiro" uri="/WEB-INF/tlds/shiros.tld"%><!-- http://shiro.apache.org/tags -->
<%@ page isELIgnored="false"%>
<c:set var="basepath" value="${pageContext.request.contextPath}" />
<c:set var="path" value="${pageContext.request.contextPath}/other" />
<style>
	.mytextbox{
   		position: relative;
	  	border: 1px solid #C3D9E0;
	  	background-color: #fff;
	 	vertical-align: middle;
	 	display: inline-block;
	  	overflow: hidden;
/* 	  	white-space: nowrap; */
   		font-size: 12px;
		margin: 0;
		height: 22px;
		width:185px;
		padding: 4px;
		white-space: normal;
		outline-style: none;
		resize: none;
   	}
</style>
<script src="${basepath}/assets/plugins/jquery-1.11.1.min.js"
	type="text/javascript"></script>

<script>
	//var basesperaUrl='http://oatest.dibabo.cn/';
	//var basesperaUrl='http://oa.dibabo.cn/';
	var basesperaUrl = "${fnc:getProParm('ser_url')}" + '/';

	//var basesperaUrl='http://192.168.2.46:8080/';
	//var basesperaUrl='http://192.168.2.81:8080/';

	var spera = {
		//sperasso_path:'http://115.28.14.91:8200/SperaSso/sso',
		//sperachildrenpark_path:'http://115.28.14.91:8080/SperaChildrenPark/spera',

		//		sperasso_path:'http://192.168.2.23:8080',
		//		sperachildrenpark_path:'http://115.28.14.91:8080',
		//		speraOther_path:'http://192.168.2.81:8080/SperaOther/other',
		//		spera_consume:'http://192.168.2.81:8080/SperaSer/ser'

		sperasso_path : basesperaUrl,
		sperachildrenpark_path : basesperaUrl + 'SperaChildrenPark/spera',
		speraOther_path : basesperaUrl + 'SperaOther/other',
		spera_consume : basesperaUrl + 'SperaSer/ser'
	//spera_consume:'http://115.28.14.91:8200/SperaSer/ser'
	};
	var speraoa = {
		oaurl : '${fnc:getOaUrl()}'
	}

	var koboo = {
		login : 'ShopAdmin/c/CustomerEntranceLog/CustomerEntrance'
	}

	function serializeForm(formObj) {
		var paramObject = new Object();
		var elementsObj = formObj.elements;
		var obj;
		for (var i = 0; i < elementsObj.length; i += 1) {
			obj = elementsObj[i];
			if (obj.name != undefined && obj.name != "") {
				paramObject[obj.name] = obj.value;
			}
		}
		return JSON.stringify(paramObject);
	};
	
	var appInfo = {
		basepath:'${basepath}',
		path:'${path}'
	}
</script>